class CreateTricks < ActiveRecord::Migration
  def self.up
    create_table :tricks do |t|
      t.integer :game_id
	  t.integer	:cards_played
      t.integer :card_0_id
      t.integer :card_1_id
      t.integer :card_2_id
      t.integer :card_3_id
      t.integer :player_0_id
      t.integer :player_1_id
      t.integer :player_2_id
      t.integer :player_3_id

      t.timestamps
    end
  end

  def self.down
    drop_table :tricks
  end
end
